<?php if(!defined('HDPHP_PATH'))exit;C('SHOW_NOTICE',FALSE);?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
    <title>分类管理</title>
	<link rel="stylesheet" type="text/css" href="http://localhost/www/item/yushen/Static/hdjs/hdui.css"/>
	<style type="text/css">
    	textarea{
    		width: 200px;
    	}
    </style>
</head>
<body>
<div class="wrap">
    <div class="title-header">添加子分类</div>
    <form action="" method="post" class="form-inline hd-form" enctype="multipart/form-data">
        <table class="table1">            
            <tr>
                <th class="w100">所属分类</th>
                <td>
              		<?php echo $cname;?>
                </td>
                <td></td>
            </tr>
            <tr>
                <th class="w100">分类名称</th>
                <td  class="w100">
                    <input type="text" name="cname" class="w200"/> 
                </td>
                <td>分类名称长度 1 到 20 位</td>
            </tr>
            <tr>
                <th class="w100">分类排序</th>
                <td>
                    <input type="text" name="sort" class="w200" value="1"/>
                </td>
                <td>请填写1到65535的排序数字 </td>
            </tr>
            <tr>
                <th class="w100">分类图片</th>
                <td>
                    <input type="file" name="catepic" id="" />
                </td>
            </tr>
            <tr>
            	<td></td>
            </tr>
            <tr>
            	<td></td>
            </tr>
            <tr>
            	<td></td>
            </tr>
        </table>
        <div class="position-bottom">
        	<input type="hidden" name="pid" value="<?php echo $hd['get']['cid'];?>" />
            <input type="submit" class="hd-success" value="添加"/>
        </div>
    </form>
</div>
</body>
</html>